// 定义颜色的类型，rgba，hex,string,
type ColorType = string | RGBA | Hex

interface RGBA {
  r: number
  g: number
  b: number
  a?: number
}
interface Hex {
  r: number
  g: number
  b: number
}
export { ColorType }
